// inline function

__inline bool Timer::IsStopped (void) const
{
	return mStopCount > 0;
}

__inline double Timer::GetTimeElapsed(void) const
{
	return mTimeElapsed;
}

__inline int Timer::GetFrameRate(wchar_t * buffer, size_t sizeInChars) const
{
	if (buffer != NULL)
	{
		_itow_s(mFrameRate, buffer, sizeInChars, 10);
	}

	return mFrameRate;
}

__inline int Timer::GetFrameRate(char * buffer, size_t sizeInChars) const
{
	if (buffer != NULL)
	{
		_itoa_s(mFrameRate, buffer, sizeInChars, 10);
	}

	return mFrameRate;
}